package be.novelfaces.showcase.webdriver.pages;

import org.openqa.selenium.WebDriver;

import be.novelfaces.showcase.webdriver.util.AjaxHelper;

public class BasePage {

	final WebDriver driver;
	private AjaxHelper ajaxHelper = new AjaxHelper();

	public BasePage(WebDriver driver) {
		this.driver = driver;
	}

	protected void waitForAjaxToComplete() {
		ajaxHelper.waitForAjaxToComplete(driver);
	}

}